import React from 'react';
import ReactMarkdown from 'react-markdown';
import remarkGfm from "remark-gfm";
import "github-markdown-css"


const Markdown = (props) => {
    console.log(props)
    return (
      <div className="markdown-body">
        <ReactMarkdown remarkPlugins={[remarkGfm]}>
          {props.children}
        </ReactMarkdown>
      </div>
    );
  };
  
  export default Markdown;
  